package xyz.chaobei.feature.entity;

/**
 * 创建一个学生对象
 * @author <a href='mailto:maruichao52@gmail.com'>MRC</a>
 * @since 2021/2/3
 */
public class Person {

    private String name;

    private int age;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public Person() {
        this.name = "null";
        this.age = 0;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }
}
